package com.xqy.wexmini.service;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xqy.wexmini.common.Result;
import com.xqy.wexmini.domain.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserService extends BaseMapper<User> {




    /**
     * 用于微信注册用户查找：根据openId查找用户
     *
     * @param openId 微信openId
     * @return openId对应的用户
     */
    User findByOpenId(String openId);

    String selectAvatar(String openId);

    String selectNickName(String openId);

}
